package cn.kow.kmall.service;

import cn.kow.kmall.pojo.dto.AddressDTO;
import cn.kow.kmall.pojo.entity.Address;

import java.util.List;

/**
 * @Author: lijun
 * @Description:
 * @Date: Created in 2019-05-24 18:08
 * @Modified By:
 */
public interface AddressService {

    List<Address> list(Long uid);

    Address addOrUpdate(Long uid, AddressDTO addressDTO);

    Address get(Long uid, Long addressId);

    void delete(Long id);

    Address getDefualt(Long uid);
}
